package com.duanruan.bmgl.service;

import com.duanruan.bmgl.entity.Department;

import java.util.List;

/**
 * 部门管理服务接口
 *
 * @author makejava
 * @since 2020-08-21 12:10:23
 */
public interface DepartmentService {

    //按部门编号、部门名称、类型查找部门
    public List<Department> findDepartments(String id, String name, String type);

    //添加新部门
    public int insertDepartment(Department department);

    //删除部门
    public int deleteDepartment(int id);

    //修改部门信息
    public int updateDepartment(Department department);
}